package cn.tedu.controller;

import cn.tedu.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController {

//    @Autowired
//    private JdbcTemplate jdbcTemplate;

    @RequestMapping("/register")
    public void register(User user) {
        System.out.println("user:" + user);


    }

}
